package com.junmo.fanbizhidemo.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.junmo.fanbizhidemo.R;

/**
 * Created by huruihua on 2017/8/29.
 */

public class ImageAdapter extends BaseRecyclerAdapter<String> {
    private Context mContext;

    @Override
    public RecyclerView.ViewHolder onCreate(ViewGroup parent, int viewType) {
        mContext = parent.getContext();
        return new ImageViewHode(LayoutInflater.from(mContext).inflate(R.layout.item_ima_layout, parent, false));
    }

    @Override
    public void onBind(RecyclerView.ViewHolder viewHolder, int realPosition, String data) {

    }

    class ImageViewHode extends Holder {

        public ImageViewHode(View itemView) {
            super(itemView);
        }
    }

}
